package top.ijiujiu.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 系统埋点记录日志
 *
 * @Author 神秘的黄瓜
 * @Version 1.0
 * @Date 2020-04-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "系统埋点记录日志", description = "SysBuriedLog对象")
public class SysBuriedLog extends SuperEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "记录时间", example = "1971-01-01 00:00:00")
    @TableField("RECORD_TIME")
    private Date recordTime;

    @ApiModelProperty(value = "记录IP")
    @TableField("RECORD_IP")
    private String recordIp;

    @ApiModelProperty(value = "操作人ID")
    @TableField("USER_ID")
    private String userId;

    @ApiModelProperty(value = "操作人名称")
    @TableField("USER_NAME")
    private String userName;

    @ApiModelProperty(value = "操作类型")
    @TableField("ACTION_TYPE")
    private String actionType;

    @ApiModelProperty(value = "操作资源路径")
    @TableField("ACTION_PATH")
    private String actionPath;

    @ApiModelProperty(value = "参数")
    @TableField("ACTION_PARAM")
    private String actionParam;

    @ApiModelProperty(value = "操作描述")
    @TableField("ACTION_DESC")
    private String actionDesc;


}
